package com.sxjh.entity.result;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 临时运输报表返回对象
 */
@Data
public class TemporaryTransportResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "运输类型")
    @TableField("transportation_type")
    private String transportationType;// 1 提货  2 送货

    @ApiModelProperty(value = "派车单号")
    @TableField("dispatch_num")
    private String dispatchNum;



    @ApiModelProperty(value = "客户/供应商")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty(value = "车牌号码")
    @TableField("vehicle_num")
    private String vehicleNum;

    @ApiModelProperty(value = "物料名称")
    @TableField("transport_materials")
    private String transportMaterials;

    @ApiModelProperty(value = "物流承运公司")
    @TableField("transport_unit")
    private String transportUnit;

    @ApiModelProperty(value = "出入大门")
    @TableField("place")
    private String place;

    @ApiModelProperty(value = "毛重")
    @TableField("gross_weight")
    private BigDecimal grossWeight;

    @ApiModelProperty(value = "毛重时间")
    @TableField("gross_weight_time")
    private LocalDateTime grossWeightTime;

    @ApiModelProperty(value = "皮重")
    @TableField("tare_weight")
    private BigDecimal tareWeight;

    @ApiModelProperty(value = "皮重时间")
    @TableField("tare_weight_time")
    private LocalDateTime tareWeightTime ;

    @ApiModelProperty(value = "净重")
    @TableField("net_weight")
    private BigDecimal netWeight;

    @ApiModelProperty(value = "称重单号")
    @TableField("weight_no")
    private String weightNo;

    @ApiModelProperty(value = "司机姓名")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "联系电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "进厂时间")
    @TableField("enter_datetime")
    private LocalDateTime enterDatetime;

    @ApiModelProperty(value = "进厂地点")
    @TableField("enter_door")
    private String enterDoor;

    @ApiModelProperty(value = "出厂时间")
    @TableField("out_datetime")
    private LocalDateTime outDatetime;

    @ApiModelProperty(value = "出厂地点")
    @TableField("out_door")
    private String outDoor;

    @ApiModelProperty(value = "保卫审核员")
    @TableField("defend_examine_user")
    private String defendExamineUser;

    @ApiModelProperty(value = "部门审核员")
    @TableField("department_examine_user")
    private String departmentExamineUser;
}
